/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package erpretailx.Component;

import javax.swing.JScrollPane;
import org.jdesktop.swingx.JXTaskPaneContainer;

/**
 *
 * @author Al Quthsi
 */
public class ControlPaneContainer extends JScrollPane {
    private JXTaskPaneContainer controlPaneContainer = new JXTaskPaneContainer();

    public ControlPaneContainer(){

        controlPaneContainer.setMaximumSize(new java.awt.Dimension(1024,800));

        setBorder(new org.jdesktop.swingx.border.DropShadowBorder());
        setViewportView(controlPaneContainer);

    }

    //return ControlPaneMenuContainer
    public JXTaskPaneContainer getControlPaneContainer() {
        return controlPaneContainer;
    }

}
